package com.btpn.custody.web.m002.model;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

public class BranchModel implements Serializable {

	private static final long serialVersionUID = 4223747136539323760L;

	private String branchName;

	// master model for Checklist
	private List<MasterModel> masterModels = new ArrayList<BranchModel.MasterModel>(0);

	// master model for Receiving
	private List<Master2Model> master2Models = new ArrayList<BranchModel.Master2Model>(0);
	
	// master model for Completing
	private List<Master3Model> master3Models = new ArrayList<BranchModel.Master3Model>(0);
	
	private List<String> branchList = new ArrayList<String>();
	
	public String getBranchName() {
		return branchName;
	}

	public void setBranchName(String branchName) {
		this.branchName = branchName;
	}

	public List<MasterModel> getMasterModels() {
		return masterModels;
	}

	public void setMasterModels(List<MasterModel> masterModels) {
		this.masterModels = masterModels;
	}
	
	public List<Master2Model> getMaster2Models() {
		return master2Models;
	}

	public void setMaster2Models(List<Master2Model> master2Models) {
		this.master2Models = master2Models;
	}

	public List<Master3Model> getMaster3Models() {
		return master3Models;
	}

	public void setMaster3Models(List<Master3Model> master3Models) {
		this.master3Models = master3Models;
	}


	public List<String> getBranchList() {
		return branchList;
	}

	public void setBranchList(List<String> branchList) {
		this.branchList = branchList;
	}


	public class MasterModel implements Serializable {

		private static final long serialVersionUID = 2562022656051461512L;

		private String sid;
		private String NO_REKENING;
		private String JENIS_REKENING;
		private String NAMA_NASABAH;
		private String TIPE_NASABAH;
		private String STATUS;
		private String ACC_OPEN;
		
		public String getSid() {
			return sid;
		}

		public void setSid(String sid) {
			this.sid = sid;
		}

		public String getNO_REKENING() {
			return NO_REKENING;
		}

		public void setNO_REKENING(String nO_REKENING) {
			NO_REKENING = nO_REKENING;
		}

		public String getJENIS_REKENING() {
			return JENIS_REKENING;
		}

		public void setJENIS_REKENING(String jENIS_REKENING) {
			JENIS_REKENING = jENIS_REKENING;
		}

		public String getNAMA_NASABAH() {
			return NAMA_NASABAH;
		}

		public void setNAMA_NASABAH(String nAMA_NASABAH) {
			NAMA_NASABAH = nAMA_NASABAH;
		}

		public String getTIPE_NASABAH() {
			return TIPE_NASABAH;
		}

		public void setTIPE_NASABAH(String tIPE_NASABAH) {
			TIPE_NASABAH = tIPE_NASABAH;
		}

		public String getSTATUS() {
			return STATUS;
		}

		public void setSTATUS(String sTATUS) {
			STATUS = sTATUS;
		}

		public String getACC_OPEN() {
			return ACC_OPEN;
		}

		public void setACC_OPEN(String aCC_OPEN) {
			ACC_OPEN = aCC_OPEN;
		}
	}
	
	public class Master2Model implements Serializable {

		private static final long serialVersionUID = 71994209189519331L;

		private String sid;			// CIF.sid
		private String cstName;		// CIF.fullname
		private String account;
		private String accType;
//		private String rekType;		// (dep/casa)
		private String accOpen;

		public String getSid() {
			return sid;
		}

		public void setSid(String sid) {
			this.sid = sid;
		}

		public String getCstName() {
			return cstName;
		}

		public void setCstName(String cstName) {
			this.cstName = cstName;
		}

		public String getAccount() {
			return account;
		}

		public void setAccount(String account) {
			this.account = account;
		}

		public String getAccType() {
			return accType;
		}

		public void setAccType(String accType) {
			this.accType = accType;
		}

//		public String getRekType() {
//			return rekType;
//		}
//
//		public void setRekType(String rekType) {
//			this.rekType = rekType;
//		}

		public String getAccOpen() {
			return accOpen;
		}

		public void setAccOpen(String accOpen) {
			this.accOpen = accOpen;
		}
	}
	
	public class Master3Model implements Serializable {

		private static final long serialVersionUID = -840928577287873619L;

		private String sid;			// CIF.sid
		private String cstName;		// CIF.fullname
		private String account;
		private String accType;
		private String accOpen;
		private String currStatus;
		
		public String getSid() {
			return sid;
		}
		
		public void setSid(String sid) {
			this.sid = sid;
		}
		
		public String getCstName() {
			return cstName;
		}
		
		public void setCstName(String cstName) {
			this.cstName = cstName;
		}
		
		public String getAccount() {
			return account;
		}
		
		public void setAccount(String account) {
			this.account = account;
		}
		
		public String getAccType() {
			return accType;
		}
		
		public void setAccType(String accType) {
			this.accType = accType;
		}
		
		public String getAccOpen() {
			return accOpen;
		}
		
		public void setAccOpen(String accOpen) {
			this.accOpen = accOpen;
		}

		public String getCurrStatus() {
			return currStatus;
		}

		public void setCurrStatus(String currStatus) {
			this.currStatus = currStatus;
		}
	}
}
